package com.bw.educate.client;

import com.bw.educate.common.ResponseResult;
import com.bw.educate.entity.EduTeacher;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("education-user")
public interface CourseTeacher {

    @GetMapping("/eduTeacher/findTeacherById/{id}")
    public EduTeacher findTeacherById(@PathVariable("id") Long id);

}
